<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>卖家-修改个人信息</title>
<link href="<?php echo $this->_webroot('/user/css/common.css'); ?>" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->_webroot('/user/css/content1.css'); ?>" rel="stylesheet" type="text/css" />
<script src="<?php echo $this->_webroot('/user/js/jquery-1.7.1.min.js'); ?>" type="text/javascript"></script>
<script src="<?php echo $this->_webroot('/user/js/common.js'); ?>" type="text/javascript"></script>

 
</head>
<body>
<psp:tags     htmlname='user_topnav1'  iconname='usertopnav1' />
<psp:tags     htmlname='user_topsearch'  iconname='usertopsearch' />

<div class="main">
	<div class="main-left">
    	<div class="title">会员管理中心</div>
        <psp:tags     htmlname='user_menulist'  iconname='usermenulist' />
    </div>
<link href="<?php echo $this->_webroot('/user/css/shoprequest.css'); ?>" rel="stylesheet" type="text/css" />   
    <div class="main-right main_right">
            <div class="cont">

                <div class="cont_title">支付方式设置</div>
                <hr />
			<form action="do.php?act=shop_payment" method="post" name="form_shop_pay" onsubmit="return checkForm();">
				<table width="100%" class="form_table">
					<tr class="center"><th width="100">支付名称</th><th>简介</th><th width="30">启用</th><th width="60">操作</th></tr>
					<?php  foreach($payment as $value){?>
					<tr>
						<td class="center"><?php echo  $value['pay_name'];?></td>
						<td><?php echo  $value['pay_desc'];?></td>
						<td class="center"><?php  if(isset($info[$value['id']]['enabled']) && $info[$value['id']]['enabled']){?><img src="<?php echo $this->_webroot('user/images/yes.gif'); ?>" /><?php  }else{?><img src="<?php echo $this->_webroot('user/images/no.gif'); ?>" /><?php }?></td>
						<td class="center"><?php  if(isset($info[$value['id']]) && $info[$value['id']]){?><a href="<?php echo $this->_url('usershop/paymentedit');?>?pay_id=<?php echo $value['id'];?>">配置</a><br /><a href="<?php echo $this->_url('usershop/paymentdel');?>?pay_id=<?php echo $value['id'];?>" onclick="return confirm('确认要卸载此支付方式吗？');">卸载</a><?php  }else{?><br /><a href="<?php echo $this->_url('usershop/paymentadd');?>?pay_id=<?php echo $value['id'];?>">安 装</a><?php }?></td>
					</tr>
					<?php }?>
				</table>
			</form>			
			  
			  
            </div>
    </div>
    <div class="clear"></div>
</div>

<div class="footer">
    <psp:tags     htmlname='user_footer_helper'  iconname='userfooterhelper' />

</div>

</body>
</html>